from django.test import TestCase

# Create your tests here.
import os
if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "book_management_system.settings")
    import django
    django.setup()
    from app01 import models
    book_obj = models.Book.objects.filter(pk = 3).first()
    book_obj.authors.add(1,3)
